package com.xiaojian.pick.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author whycode
 * @title: BondHistory
 * @projectName campus-secondary-market-app---sys
 * @description: TODO
 * @date 2022/3/1315:41
 */
@Data
@Accessors(chain = true)
@ToString
public class BondHistory {

    private Integer id          ;
    private Integer userId      ;
    private String sharer       ;
    private Integer recId       ;
    private String receive      ;
    private Integer commId      ;
    private String title        ;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime  ;


    @TableField(exist = false)
    private String date;
}
